home *** CD-ROM | disk | FTP | other *** search
-
-
- #import "MiscGaugeView.subproj/MiscGaugeView.h"
- #import "MiscGaugePalette.h"
-
-
- @implementation MiscGaugePalette
-
- - finishInstantiate
- {
- [super finishInstantiate];
- // Change the appearance of the second gauge for a little
- // variety.
- [(MiscGaugeView *)gauge2 setMinValue: 0];
- [(MiscGaugeView *)gauge2 setMaxValue: 40];
- [gauge2 setFloatValue: 15];
- [gauge2 setTickInterval: 5];
- [gauge2 setTickRatio: 0.55];
- [gauge2 setHandRatio: 0.5];
- [gauge2 setGaugeGray: NX_LTGRAY];
- [gauge2 setTitlePosition: NX_ATBOTTOM];
- [gauge2 setTitle: NULL];
- return self;
- }
-
- @end
-
-
- @implementation MiscGaugeCell (IBInspector)
-
- - (const char *)getInspectorClassName
- {
- return "MiscGaugeViewInspector";
- }
-
- @end
-
-
- @implementation MiscGaugeView (IBInspector)
-
- - (const char *)getInspectorClassName
- {
- return "MiscGaugeViewInspector";
- }
-
- @end
-
-